package com.zty.xiaomiadmin.server.Entity;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 分页结果封装对象
 */
@Data
public class PageResult implements Serializable{
    private int total;//总记录数
    private List rows;//当前页结果

    public PageResult(int total, List rows) {
        this.total = total;
        this.rows = rows;
    }
}
